#include "../../mqserver/channel.hpp"


int main()
{
    channelManager::Ptr manager = std::make_shared<channelManager>();

    manager->openChannel("channel1",
        muduo::net::TcpConnectionPtr(),
        ProtobufCodecPtr(),
        QueueConsumerManager::Ptr(),
        VirtualHost::Ptr(),
        ThreadPool::Ptr());
    manager->closeChannel("channel1");
    return 0;
}